//
//  Classification.swift
//  MyCookbook
//
//  Created by liaokylin on 2024/10/14.
//

import SwiftUI

struct Classification: View {
    private var gridItemLayout = [GridItem(.flexible(),spacing: 0),GridItem(.flexible(),spacing:0)]
    var body: some View {
        NavigationStack{

            ScrollView{
                LazyVGrid(columns: gridItemLayout,spacing: 10) {
                    ForEach((0...10),id:\.self) { _ in
                        Teletext()
                    }
                }
            }

        }
    }
}

#Preview {
    Classification()
}
